<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>查询cdr</title>
    <link rel="stylesheet" href="../static/lib/layui/css/layui.css" th:href="@{/lib/layui/css/layui.css}" media="all">
    <link rel="stylesheet" href="../static/css/admin/admin.css" th:href="@{/css/admin/admin.css}" media="all" >
    <link rel="stylesheet" href="../static/lib/layui/css/layer.css" th:href="@{/lib/layui/css/layer.css}" media="all">
    <script type="text/javascript" src="../static/lib/jquery/jquery-3.2.1.min.js" th:src="@{/lib/jquery/jquery-3.2.1.min.js}"></script>
    <script src="../static/lib/layui/layui.js" th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
</head>
<body class="layui-layout-body" layadmin-themealias="default">
<form class="layui-form" action="" id="searchForm">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">callee</label>
            <div class="layui-input-inline">
                <input type="text" name="callee"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">caller</label>
            <div class="layui-input-inline">
                <input type="text" name="caller"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">测试</label>
            <div class="layui-input-inline">
                <input type="radio" name="test"  autocomplete="off" value="11" title="11" checked class="layui-input">
                <input type="radio" name="test"  autocomplete="off" value="22" title="22" class="layui-input">
                <input type="radio" name="test"  autocomplete="off" value="33"  title="33" class="layui-input">
            </div>
        </div>
        <p class="layui-btn" lay-submit="" lay-filter="sreach" id="searchBtn"><i class="layui-icon"></i></p>
    </div>
</form>
<table id="account" lay-filter="account">

</table>
<script type="text/javascript" th:inline="none">

(function () {
    for (var i = 0; i < 1010; i++) {
        sendRequest(i);
    }
    function sendRequest(i) {
        $.ajax({
            url:'http://localhost:8085/cdr/get?key='+i,
            success:function (data) {
                console.log(data);
            }
        })
    }
})()
</script>
</body>
</html>